package spring.cloud.tasks.tasks_assign_manager.task_item_assign_event;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class ExecutorLostOrRecoverTrafficTaskItemAssignEvent implements TaskItemAssignEvent {
    public static final String type_executor_lost_traffic = "executor_lost_traffic";
    public static final String type_executor_recover_traffic = "executor_recover_traffic";
    private String type;
    private String executorId;

    public ExecutorLostOrRecoverTrafficTaskItemAssignEvent(String type, String executorId) {
        this.type = type;
        this.executorId = executorId;
    }
}
